package training.project.app.repository;

import training.project.app.domain.FlightClient;
import training.project.app.domain.UserAccount;
import training.project.app.repository.base.GenericDao;

public interface UserDao extends GenericDao<UserAccount, Integer>
	{
		UserAccount findByLogin(String login);
		
		void purchaseFlight(UserAccount user, FlightClient flightClient);
	}
